package com.cssl.controller;


import com.cssl.domain.dto.DtsFootprintDto;

import com.cssl.openFeign.DtsFootprintClient;


import com.cssl.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/userfootprint")
public class DtsFootprintController {

    @Autowired
    private DtsFootprintClient dtsFootprintClient;

    @PostMapping("/listFootprint")
    public Result getDtsFootprintList(@RequestBody DtsFootprintDto dtsFootprintDto) {

        return dtsFootprintClient.getDtsFootprintList(dtsFootprintDto);

    }
}
